package com.yunxin.core.infra.common.product.enums;

import com.yunxin.common.base.IBaseEnum;
import lombok.Getter;

/**
 * @author zero°
 * @since 2023-06-11
 */
@Getter
public enum ProductCustomSwitchStatusEnum implements IBaseEnum<Integer> {

    /**
     * 开关 0.关闭 1.开启
     */
    CLOSE(0, "关闭"),

    OPEN(1, "开启"),
    ;

    private final Integer value;

    private final String label;


    ProductCustomSwitchStatusEnum(Integer value, String label) {
        this.value = value;
        this.label = label;
    }
}
